projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdabe14
)
x86: Fix caller of p2m_init(): cannot use paging_mode_hap() yet.
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 7 Apr 2010 09:17:27 +0000
(10:17 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 7 Apr 2010 09:17:27 +0000
(10:17 +0100)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/p2m.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m.c
b/xen/arch/x86/mm/p2m.c
index ba6f191d8b0845b0b101d873dbdbcfa83df81c12..53de2cf23bf4591b575bf03392fcafbf94ac150f 100644
(file)
--- a/
xen/arch/x86/mm/p2m.c
+++ b/
xen/arch/x86/mm/p2m.c
@@
-1715,7
+1715,7
@@
int p2m_init(struct domain *d)
p2m->get_entry_current = p2m_gfn_to_mfn_current;
p2m->change_entry_type_global = p2m_change_type_global;
- if ( is_hvm_domain(d) &&
paging_mode_hap(d)
&&
+ if ( is_hvm_domain(d) &&
d->arch.hvm_domain.hap_enabled
&&
(boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) )
ept_p2m_init(d);